import request from '@/utils/request'

// 查询目视助航设施信息列表
export function listVisnavifac(query) {
  return request({
    url: '/baseinfo/visnavifac/list',
    method: 'get',
    params: query
  })
}

// 查询目视助航设施信息详细
export function getVisnavifac(facid) {
  return request({
    url: '/baseinfo/visnavifac/' + facid,
    method: 'get'
  })
}

// 新增目视助航设施信息
export function addVisnavifac(data) {
  return request({
    url: '/baseinfo/visnavifac',
    method: 'post',
    data: data
  })
}

// 修改目视助航设施信息
export function updateVisnavifac(data) {
  return request({
    url: '/baseinfo/visnavifac',
    method: 'put',
    data: data
  })
}

// 删除目视助航设施信息
export function delVisnavifac(facid) {
  return request({
    url: '/baseinfo/visnavifac/' + facid,
    method: 'delete'
  })
}
